LUA INT
With this command, you can get an integer from the LUA interface.
Global integers are specified in a file simply by assigning a number to a named variable. e.g: age = 22
After the file has been loaded by LUA, you can access this global integer by using age=LUA INT("age").
You should check for errors after calling this command, since a file could easily have an error, or just a typo.
In addition to that, you can get a table field that holds an integer out of a global, named table from the LUA interface.
You can even use this command to get an int field out of a nested table, like: "grandpa.pa.me.age", where "grandpa" is the global table name, "pa" a table field of "grandpa","me" a table field of "pa", and finally "age" the int table field of "me".
The syntax is the following: my_age=LUA INT("grandpa.pa.me.age")
SYNTAX
Return Integer=LUA INT(index_name as String)
RELATED INFO
LUA command menu
Index
EXAMPLE
Showcase-example 1
Showcase-example 2